﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPageAdmin.master" AutoEventWireup="true" CodeFile="DoiMatKhau.aspx.cs" Inherits="Admin_DoiMatKhau" %>

<asp:Content ID="Content2" runat="server" contentplaceholderid="cphNoiDung">
<table>
    <tr>
        <td>
            <asp:Label ID="Label1" runat="server" Text="Mật Khẩu Cũ"></asp:Label>
        </td>
        <td >
            <asp:TextBox ID="txtMatKhauCu" runat="server" Width="292px" TextMode="Password"></asp:TextBox>
        
        </td>

    </tr>
     <tr>
        <td>
            <asp:Label ID="Label2" runat="server" Text="Mật Khẩu Mới" ></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtMatKhauMoi" runat="server" Width="292px" 
                TextMode="Password"></asp:TextBox>
        
        </td>

    </tr>
     <tr >
        <td>
            <asp:Label ID="Label3" runat="server" Text="Xác Nhận Mật Khẩu"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtXacNhanPass" runat="server" Width="292px" 
                TextMode="Password"></asp:TextBox>
        
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="txtMatKhauMoi" ControlToValidate="txtXacNhanPass" 
                ErrorMessage="Mật Khẩu và Xác nhận mật khẩu không giống nhau!" ForeColor="Red"></asp:CompareValidator>
        
        </td>

    </tr>
    <tr >
        <td colspan="2">
            <asp:Button ID="btnDoiMatKhau" runat="server" Text="Lưu" CssClass="button" 
                onclick="btnDoiMatKhau_Click" />
        
        </td>
    </tr>
</table>
</asp:Content>


